package sy.service;

import sy.pageModel.BaseEntity;
import sy.pageModel.DataGrid;
import sy.pageModel.Partner;

import java.util.List;

/**
 * Created by Administrator on 2016-06-29.
 * 合作伙伴
 */
public interface PartnerServiceI {
    DataGrid detagrid(Partner partner);

    /**
     * 查询单位类型
     * @return
     */
    List<BaseEntity> findTypeList();

    /**
     * 查询单位信息
     * @return
     */
    List<BaseEntity> findDeptList();

    int addPartnerService(Partner partner)throws Exception;

    int editPartnerService(Partner partner)throws Exception;

    int deletePartnerService(Partner partner)throws Exception;
}
